package com.ls.demo.pattern.factory.abstractf;
import com.ls.demo.pattern.factory.entity.KeyBoard;
import com.ls.demo.pattern.factory.entity.LenovoKeyBoard;
import com.ls.demo.pattern.factory.entity.LenovoMouse;
import com.ls.demo.pattern.factory.entity.Mouse;

/**
 * 〈〉
 *
 * @author Noah2021
 * @create 2021/3/6
 * @return
 */
public class LenovoComputerFactory implements ComputerFactory {

    @Override
    public Mouse createMouse() {
        return new LenovoMouse();
    }

    @Override
    public KeyBoard createKeyBoard() {
        return new LenovoKeyBoard();
    }
}